* {
  margin: 0;
  padding: 0; }

#luckyDraw {
  width: 400px;
  height: 100vh;
  background-position: 0% 0%;
  position: absolute;
  left: 55%;
  margin-left: -300px;
  overflow: hidden;
  max-height: 812px;
  background-image: url(../img/luckyDraw/ld_bg.jpg);
  background-size: cover; }
  #luckyDraw div > img {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-user-select: none;
    pointer-events: none; }
  #luckyDraw #logo img {
    width: 50%;
    top: 8%; }
  #luckyDraw #redBag {
    -webkit-transform-origin: center center;
    transform-origin: center center;
    height: 100%; }
    #luckyDraw #redBag img {
      width: 80%;
      top: 15%; }
  #luckyDraw #redLogo img {
    width: 25%;
    top: 80%; }
  #luckyDraw #tips {
    color: white;
    font-size: 0.15rem;
    position: absolute;
    left: 50%;
    top: 85%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%); }
  #luckyDraw #round {
    width: 25rem;
    height: 25rem;
    position: absolute;
    left: -15%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    top: 10%;
    border-radius: 50%;
    background: -webkit-radial-gradient(circle, white, rgba(255, 255, 255, 0));
    background: radial-gradient(circle, white, rgba(255, 255, 255, 0));
    z-index: 5;
    opacity: 0; }
  #luckyDraw #luckyTips {
    color: white;
    position: absolute;
    left: 50%;
    top: 15%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 6; }
    #luckyDraw #luckyTips #tips1 {
      color: #ffff9f;
      font-size: 0.3rem;
      letter-spacing: 0.075rem;
      text-align: center;
      margin-bottom: 5px; }
  #luckyDraw #gift {
    width: 50%;
    position: absolute;
    left: 50%;
    top: 28%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 7; }
    #luckyDraw #gift img {
      width: 120%; }
  #luckyDraw #shareBtn {
    position: absolute;
    left: 50%;
    top: 75%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: rgba(255, 0, 0, 0);
    border: 1px solid #ffff9f;
    color: #ffff9f; }
  #luckyDraw .redBagPlay {
    -webkit-animation: redBagRun 1.5s;
    animation: redBagRun 1.5s; }
  #luckyDraw .roundPlay {
    -webkit-animation: roundRun 1s;
    animation: roundRun 1s; }

@-webkit-keyframes redBagRun {
  0% { }
  10% {
    -webkit-transform: rotateZ(-5deg) scale(0.9, 0.9);
    transform: rotateZ(-5deg) scale(0.9, 0.9); }
  14% {
    -webkit-transform: rotateZ(5deg) scale(1.2, 1.2);
    transform: rotateZ(5deg) scale(1.2, 1.2); }
  21% {
    -webkit-transform: rotateZ(-5deg) scale(1.2, 1.2);
    transform: rotateZ(-5deg) scale(1.2, 1.2); }
  28% {
    -webkit-transform: rotateZ(5deg) scale(1.2, 1.2);
    transform: rotateZ(5deg) scale(1.2, 1.2); }
  35% {
    -webkit-transform: rotateZ(-5deg) scale(1.2, 1.2);
    transform: rotateZ(-5deg) scale(1.2, 1.2); }
  42% {
    -webkit-transform: rotateZ(5deg) scale(1.2, 1.2);
    transform: rotateZ(5deg) scale(1.2, 1.2); }
  49% {
    -webkit-transform: rotateZ(-5deg) scale(1.2, 1.2);
    transform: rotateZ(-5deg) scale(1.2, 1.2); }
  56% {
    -webkit-transform: rotateZ(5deg) scale(1.2, 1.2);
    transform: rotateZ(5deg) scale(1.2, 1.2); }
  63% {
    -webkit-transform: rotateZ(-5deg) scale(1.2, 1.2);
    transform: rotateZ(-5deg) scale(1.2, 1.2); }
  70% {
    -webkit-transform: rotateZ(5deg) scale(1.2, 1.2);
    transform: rotateZ(5deg) scale(1.2, 1.2); }
  77% {
    -webkit-transform: rotateZ(-5deg) scale(1.2, 1.2);
    transform: rotateZ(-5deg) scale(1.2, 1.2); }
  84% {
    -webkit-transform: rotateZ(5deg) scale(1.2, 1.2);
    transform: rotateZ(5deg) scale(1.2, 1.2); }
  91% {
    -webkit-transform: rotateZ(-5deg) scale(1.2, 1.2);
    transform: rotateZ(-5deg) scale(1.2, 1.2); }
  100% {
    -webkit-transform: rotateZ(0deg) scale(1, 1);
    transform: rotateZ(0deg) scale(1, 1); } }

@keyframes redBagRun {
  0% { }
  10% {
    -webkit-transform: rotateZ(-5deg) scale(0.9, 0.9);
    transform: rotateZ(-5deg) scale(0.9, 0.9); }
  14% {
    -webkit-transform: rotateZ(5deg) scale(1.2, 1.2);
    transform: rotateZ(5deg) scale(1.2, 1.2); }
  21% {
    -webkit-transform: rotateZ(-5deg) scale(1.2, 1.2);
    transform: rotateZ(-5deg) scale(1.2, 1.2); }
  28% {
    -webkit-transform: rotateZ(5deg) scale(1.2, 1.2);
    transform: rotateZ(5deg) scale(1.2, 1.2); }
  35% {
    -webkit-transform: rotateZ(-5deg) scale(1.2, 1.2);
    transform: rotateZ(-5deg) scale(1.2, 1.2); }
  42% {
    -webkit-transform: rotateZ(5deg) scale(1.2, 1.2);
    transform: rotateZ(5deg) scale(1.2, 1.2); }
  49% {
    -webkit-transform: rotateZ(-5deg) scale(1.2, 1.2);
    transform: rotateZ(-5deg) scale(1.2, 1.2); }
  56% {
    -webkit-transform: rotateZ(5deg) scale(1.2, 1.2);
    transform: rotateZ(5deg) scale(1.2, 1.2); }
  63% {
    -webkit-transform: rotateZ(-5deg) scale(1.2, 1.2);
    transform: rotateZ(-5deg) scale(1.2, 1.2); }
  70% {
    -webkit-transform: rotateZ(5deg) scale(1.2, 1.2);
    transform: rotateZ(5deg) scale(1.2, 1.2); }
  77% {
    -webkit-transform: rotateZ(-5deg) scale(1.2, 1.2);
    transform: rotateZ(-5deg) scale(1.2, 1.2); }
  84% {
    -webkit-transform: rotateZ(5deg) scale(1.2, 1.2);
    transform: rotateZ(5deg) scale(1.2, 1.2); }
  91% {
    -webkit-transform: rotateZ(-5deg) scale(1.2, 1.2);
    transform: rotateZ(-5deg) scale(1.2, 1.2); }
  100% {
    -webkit-transform: rotateZ(0deg) scale(1, 1);
    transform: rotateZ(0deg) scale(1, 1); } }

@-webkit-keyframes roundRun {
  0% {
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
    opacity: 0; }
  100% {
    -webkit-transform: scale(2, 2);
    transform: scale(2, 2);
    opacity: 1; } }

@keyframes roundRun {
  0% {
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
    opacity: 0; }
  100% {
    -webkit-transform: scale(2, 2);
    transform: scale(2, 2);
    opacity: 1; } }
  #luckyDraw #myModal {
    margin: 0;
    padding: 0;
    width: 400px;
    height: 100vh;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%); }
    #luckyDraw #myModal .modal-dialog {
      margin: 0; }
    #luckyDraw #myModal .modal-content {
      width: 400px;
      height: 100vh;
      margin-top: 20vh;
      background-color: transparent;
      border: none;
      box-shadow: none; }
      #luckyDraw #myModal .modal-content .modal-body {
        padding: 0;
        margin: 0;
        position: relative;
        width: 100%;
        height: 100%; }
        #luckyDraw #myModal .modal-content .modal-body img {
          width: 40%; }
        #luckyDraw #myModal .modal-content .modal-body > img:first-of-type {
          position: absolute;
          top: -10%;
          left: 63%; }
        #luckyDraw #myModal .modal-content .modal-body > img:last-of-type {
          position: absolute;
          top: 40%;
          left: 50%; }

@media (max-width: 768px) {
  #luckyDraw {
    width: 100%;
    left: 0%;
    margin-left: 0px;
    background-size: cover; }
  #luckyDraw #tips {
    font-size: 0.6rem; }
  #luckyDraw #luckyTips #tips1 {
    font-size: 0.9rem;
    letter-spacing: 0.225rem; }
  #FlyingBear #myModal {
    width: 17.5rem; }
  #FlyingBear #myModal .modal-content {
    width: 17.5rem; }
  #FlyingBear #myModal .modal-content .modal-body {
    width: 17.5rem; } }
